package tv.huan.media.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import tv.huan.common.annotation.Excel;
import tv.huan.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 项目片单操作日志对象 item_album_operate_log
 * 
 * @author admin
 * @date 2020-09-14
 */
public class ItemAlbumOperateLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 项目媒资关联表主键 */
    @Excel(name = "项目媒资关联表主键")
    private Long itemAlbumId;

    /** 操作 可上线1、出库2、上线3、下线4、不可上线-1、重新可上线11 */
    @Excel(name = "操作 可上线1、出库2、上线3、下线4、不可上线-1、重新可上线11")
    private Integer operateState;

    /** null */
    @Excel(name = "null", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operateTime;

    /** 操作人 */
    @Excel(name = "操作人")
    private String operateName;

    /** 操作原因 */
    @Excel(name = "操作原因")
    private String operateReason;

    public String getOperateReason() {
        return operateReason;
    }

    public void setOperateReason(String operateReason) {
        this.operateReason = operateReason;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setItemAlbumId(Long itemAlbumId)
    {
        this.itemAlbumId = itemAlbumId;
    }

    public Long getItemAlbumId()
    {
        return itemAlbumId;
    }
    public void setOperateState(Integer operateState) 
    {
        this.operateState = operateState;
    }

    public Integer getOperateState() 
    {
        return operateState;
    }
    public void setOperateTime(Date operateTime) 
    {
        this.operateTime = operateTime;
    }

    public Date getOperateTime() 
    {
        return operateTime;
    }

    public String getOperateName() {
        return operateName;
    }

    public void setOperateName(String operateName) {
        this.operateName = operateName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("itemAlbumId", getItemAlbumId())
            .append("operateState", getOperateState())
            .append("operateTime", getOperateTime())
            .append("operateReason", getOperateReason())
            .append("remark", getRemark())
            .toString();
    }
}
